Over-Specific Runs On ^^^^^ **Definition:** * A behavioral entity (function, test case or altstep) is declared to run on a component, but uses only elements of this component’s super-component or no elements of the component at all. **Code Example:** .. code-block:: pseudo type component BaseComponentType { port OutPort pOut; } type component ExtendedComponentType extends BaseComponentType { port InPort pIn; timer t; } function f(string aMessage) runs on ExtendedComponentType { if (checkSomething()) { pOut.sent(aMessage); } } **References:** .. admonition:: Quality attributes * :octicon:`file-code;1em` - Code Example * :octicon:`comment-discussion;1em` - Cause and Effect * :octicon:`graph;1em` - Frequency * :octicon:`sync;1em` - Refactoring * `An approach to quality engineering of TTCN-3 test specifications `_ * `Pattern-based Smell Detection in TTCN-3 Test Suites `_ :octicon:`file-code;1em` :octicon:`comment-discussion;1em` :octicon:`sync;1em` * `Utilising Code Smells to Detect Quality Problems in TTCN-3 Test Suites `_